<?php

$friends = array("tom", "jack", "frank", "lucy");
$best = $friends[array_rand($friends)];

?>